using System;

namespace Metro.Admin.BusinessEntities
{
    public class City
    { 
        public City()
        {

        }
        
        private Country country;
        private string id;
        private string name;
        
        public String Id
        {
            get { return this.id; }
            set { this.id = value; }
        }

        public String Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        public Country Country
        {
            get { return this.country; }
            set { this.country = value; }
        }

        public City(string id, string name,Country country)
        {
            this.id = id;
            this.name = name;
            this.country = country;
        }

        public City(string id, string name, string idCountry, string countryName)
        {
            this.id = id;
            this.name = name;
            this.country = new Country(idCountry, countryName);  
        }

        public City(string id, string name)
        {
            this.id = id;
            this.name = name;
        }
       
    }
}
